package com.roadmap.repo.common;

import java.util.Properties;

public class RepositoryProfile {
	protected Properties props = null;
	
	public RepositoryProfile(){
		loadProperties();
	}

	/**
	 * load properties from a given file
	 */
	public void loadProperties() {

	}

	/**
	 * get property's value by given property's name.
	 */
	public String getPropertyValue(String propertyName) {
		if (props == null) {
			System.out.println("No file was loaded.");
			return null;
		}
		String value = props.getProperty(propertyName);
		return value;
	}

}
